package com.zc.commons.utils;

/**
 * @author zhangchunjia
 * @description 字符串工具类
 * @date 2022/1/4
 **/
public class StringUtils {

    private static final String EMPTY_STR = "";

    /**
     * 判断是否空字符串
     *
     * @param str
     * @return
     */
    public static boolean isNullOrEmpty(String str) {
        return str == null || EMPTY_STR.equals(str.trim());
    }

}
